/**
 * Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
 * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://opensource.org/licenses/MIT
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */

@import '../../css/variable.css';
@import '../../css/mixins/ellipsis.css';

.biz-loadbalance-title {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    margin-left: 20px;
}

.biz-loadbalance-table>thead>tr>th:first-child,
.biz-loadbalance-table>tbody>tr>td:first-child {
    padding-left: 30px;
}

.biz-namespace-selected-list {
    margin-top: 10px;

    .bk-tooltip {
        margin-right: 10px;
    }

    .bk-button {
        display: inline-block;
        max-width: 114px;
        text-overflow: ellipsis;
        white-space: nowrap;
        user-select: none;
        overflow: hidden;
        width: 114px;
    }
}

.namespace-types {
    text-align: right;
    margin-bottom: 15px;
    font-size: 14px;
    color: #737987;
    margin-right: 10px;

    .bk-icon {
        margin-right: 5px;
        font-size: 12px;
        color: #dde4eb;
    }

    span {
        margin-left: 10px;
    }

    .bk-warning {
        .bk-icon {
            color: $warningColor;
        }
    }
}

.bk-dropdown-content {
    margin-top: 2px;
}

.biz-loadbalance-ns {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 20px;
}

@media screen and (max-width: $mediaWidth) {
    .cluster-name {
        @mixin ellipsis 120px;
    }
}
